package cn.source.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * 用户偏好设置对象 gk_member_setting
 * 
 * @author sourcebyte.vip
 * @date 2025-05-02
 */
public class GkMemberSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 会员id */
    @Excel(name = "会员id")
    private String memberId;

    /** 偏好代码 */
    @Excel(name = "偏好代码")
    private String scode;

    /** 偏好名称 */
    @Excel(name = "偏好名称")
    private String sname;

    /** 偏好类型 */
    @Excel(name = "偏好类型")
    private String stype;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setScode(String scode) 
    {
        this.scode = scode;
    }

    public String getScode() 
    {
        return scode;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }
    public void setStype(String stype) 
    {
        this.stype = stype;
    }

    public String getStype() 
    {
        return stype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("scode", getScode())
            .append("sname", getSname())
            .append("stype", getStype())
            .toString();
    }
}
